home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Fun House 7
/
CD FunHouse 7 For The Macintosh (Wayzata)(1992).iso
/
• The Arcade •
/
Chips•••••
/
Chips & DIPS
/
Chips & DIPS.rsrc
/
CODE_4.txt
< prev
next >
Wrap
Text File
|
1991-04-15
|
11KB
|
218 lines
# near model CODE resource
# jump table entries: 96-98 (3 of them)
export_12:
00000000 4E56 0000 link A6, 0
00000004 4A6E 0008 tst.w [A6 + 0x8]
00000008 6C08 bge +0xA /* 00000012 */
0000000A 302E 0008 move.w D0, [A6 + 0x8]
0000000E 4440 neg.w D0
00000010 6004 bra +0x6 /* 00000016 */
label00000012:
00000012 302E 0008 move.w D0, [A6 + 0x8]
label00000016:
00000016 4E5E unlink A6
00000018 4E75 rts
0000001A 4E56 0000 link A6, 0
0000001E 4AAE 0008 tst.l [A6 + 0x8]
00000022 6C08 bge +0xA /* 0000002C */
00000024 202E 0008 move.l D0, [A6 + 0x8]
00000028 4480 neg.l D0
0000002A 6004 bra +0x6 /* 00000030 */
label0000002C:
0000002C 202E 0008 move.l D0, [A6 + 0x8]
label00000030:
00000030 4E5E unlink A6
00000032 4E75 rts
00000034 4E56 FFFC link A6, -0x0004
00000038 306E 000C movea.w A0, [A6 + 0xC]
0000003C 2008 move.l D0, A0
0000003E 81EE 000E divs.w D0, [A6 + 0xE]
00000042 3D40 FFFC move.w [A6 - 0x4], D0
00000046 306E 000C movea.w A0, [A6 + 0xC]
0000004A 2008 move.l D0, A0
0000004C 81EE 000E divs.w D0, [A6 + 0xE]
00000050 4840 swap.w D0
00000052 3D40 FFFE move.w [A6 - 0x2], D0
00000056 206E 0008 movea.l A0, [A6 + 0x8]
0000005A 20AE FFFC move.l [A0], [A6 - 0x4]
0000005E 4E5E unlink A6
00000060 4E75 rts
00000062 4E56 FFF8 link A6, -0x0008
00000066 2F2E 0010 move.l -[A7], [A6 + 0x10]
0000006A 2F2E 000C move.l -[A7], [A6 + 0xC]
0000006E 4EAD 005A jsr [A5 + 0x5A /* export_7 */]
00000072 2D40 FFF8 move.l [A6 - 0x8], D0
00000076 2F2E 0010 move.l -[A7], [A6 + 0x10]
0000007A 2F2E 000C move.l -[A7], [A6 + 0xC]
0000007E 4EAD 0062 jsr [A5 + 0x62 /* export_8 */]
00000082 2D40 FFFC move.l [A6 - 0x4], D0
00000086 206E 0008 movea.l A0, [A6 + 0x8]
0000008A 43EE FFF8 lea.l A1, [A6 - 0x8]
0000008E 20D9 move.l [A0]+, [A1]+
00000090 20D9 move.l [A0]+, [A1]+
00000092 4E5E unlink A6
00000094 4E75 rts
export_14:
00000096 206F 0004 movea.l A0, [A7 + 0x4]
0000009A 226F 0008 movea.l A1, [A7 + 0x8]
0000009E 2008 move.l D0, A0
label000000A0:
000000A0 10D9 move.b [A0]+, [A1]+
000000A2 66FC bne -0x2 /* 000000A0 */
000000A4 4E75 rts
export_13:
000000A6 206F 0004 movea.l A0, [A7 + 0x4]
000000AA 226F 0008 movea.l A1, [A7 + 0x8]
000000AE 2008 move.l D0, A0
label000000B0:
000000B0 4A18 tst.b [A0]+
000000B2 66FC bne -0x2 /* 000000B0 */
000000B4 5388 subq.l A0, 1
label000000B6:
000000B6 10D9 move.b [A0]+, [A1]+
000000B8 66FC bne -0x2 /* 000000B6 */
000000BA 4E75 rts
000000BC 206F 0004 movea.l A0, [A7 + 0x4]
000000C0 226F 0008 movea.l A1, [A7 + 0x8]
000000C4 7000 moveq.l D0, 0x00
000000C6 6004 bra +0x6 /* 000000CC */
label000000C8:
000000C8 4A01 tst.b D1
000000CA 670C beq +0xE /* 000000D8 */
label000000CC:
000000CC 1218 move.b D1, [A0]+
000000CE B219 cmp.b D1, [A1]+
000000D0 67F6 beq -0x8 /* 000000C8 */
000000D2 6202 bhi +0x4 /* 000000D6 */
000000D4 5580 subq.l D0, 2
label000000D6:
000000D6 5280 addq.l D0, 1
label000000D8:
000000D8 4E75 rts
000000DA 206F 0004 movea.l A0, [A7 + 0x4]
000000DE 322F 0008 move.w D1, [A7 + 0x8]
000000E2 7000 moveq.l D0, 0x00
000000E4 6004 bra +0x6 /* 000000EA */
label000000E6:
000000E6 4A18 tst.b [A0]+
000000E8 6706 beq +0x8 /* 000000F0 */
label000000EA:
000000EA B210 cmp.b D1, [A0]
000000EC 66F8 bne -0x6 /* 000000E6 */
000000EE 2008 move.l D0, A0
label000000F0:
000000F0 4E75 rts
000000F2 206F 0004 movea.l A0, [A7 + 0x4]
000000F6 70FF moveq.l D0, 0xFFFFFFFF
label000000F8:
000000F8 5280 addq.l D0, 1
000000FA 1218 move.b D1, [A0]+
000000FC 670C beq +0xE /* 0000010A */
000000FE 226F 0008 movea.l A1, [A7 + 0x8]
label00000102:
00000102 1419 move.b D2, [A1]+
00000104 67F2 beq -0xC /* 000000F8 */
00000106 B401 cmp.b D2, D1
00000108 66F8 bne -0x6 /* 00000102 */
label0000010A:
0000010A 4E75 rts
0000010C 206F 0004 movea.l A0, [A7 + 0x4]
00000110 7000 moveq.l D0, 0x00
label00000112:
00000112 1218 move.b D1, [A0]+
00000114 6710 beq +0x12 /* 00000126 */
00000116 226F 0008 movea.l A1, [A7 + 0x8]
label0000011A:
0000011A 1419 move.b D2, [A1]+
0000011C 67F4 beq -0xA /* 00000112 */
0000011E B401 cmp.b D2, D1
00000120 66F8 bne -0x6 /* 0000011A */
00000122 5388 subq.l A0, 1
00000124 2008 move.l D0, A0
label00000126:
00000126 4E75 rts
00000128 206F 0004 movea.l A0, [A7 + 0x4]
0000012C 322F 0008 move.w D1, [A7 + 0x8]
00000130 7000 moveq.l D0, 0x00
label00000132:
00000132 B210 cmp.b D1, [A0]
00000134 6602 bne +0x4 /* 00000138 */
00000136 2008 move.l D0, A0
label00000138:
00000138 4A18 tst.b [A0]+
0000013A 66F6 bne -0x8 /* 00000132 */
0000013C 4E75 rts
0000013E 206F 0004 movea.l A0, [A7 + 0x4]
00000142 7000 moveq.l D0, 0x00
00000144 6006 bra +0x8 /* 0000014C */
label00000146:
00000146 B401 cmp.b D2, D1
00000148 660A bne +0xC /* 00000154 */
0000014A 5280 addq.l D0, 1
label0000014C:
0000014C 1218 move.b D1, [A0]+
0000014E 6708 beq +0xA /* 00000158 */
00000150 226F 0008 movea.l A1, [A7 + 0x8]
label00000154:
00000154 1419 move.b D2, [A1]+
00000156 66EE bne -0x10 /* 00000146 */
label00000158:
00000158 4E75 rts
0000015A 202F 0004 move.l D0, [A7 + 0x4]
0000015E 6006 bra +0x8 /* 00000166 */
label00000160:
00000160 B401 cmp.b D2, D1
00000162 6708 beq +0xA /* 0000016C */
00000164 5280 addq.l D0, 1
label00000166:
00000166 2040 movea.l A0, D0
00000168 226F 0008 movea.l A1, [A7 + 0x8]
label0000016C:
0000016C 1219 move.b D1, [A1]+
0000016E 6706 beq +0x8 /* 00000176 */
00000170 1418 move.b D2, [A0]+
00000172 66EC bne -0x12 /* 00000160 */
00000174 7000 moveq.l D0, 0x00
label00000176:
00000176 4E75 rts
00000178 202F 0004 move.l D0, [A7 + 0x4]
0000017C 6606 bne +0x8 /* 00000184 */
label0000017E:
0000017E 202D FFB4 move.l D0, [A5 - 0x4C]
00000182 6730 beq +0x32 /* 000001B4 */
label00000184:
00000184 42AD FFB4 clr.l [A5 - 0x4C]
00000188 2040 movea.l A0, D0
0000018A 6006 bra +0x8 /* 00000192 */
label0000018C:
0000018C B401 cmp.b D2, D1
0000018E 660A bne +0xC /* 0000019A */
00000190 2008 move.l D0, A0
label00000192:
00000192 1218 move.b D1, [A0]+
00000194 67E8 beq -0x16 /* 0000017E */
00000196 226F 0008 movea.l A1, [A7 + 0x8]
label0000019A:
0000019A 1419 move.b D2, [A1]+
0000019C 66EE bne -0x10 /* 0000018C */
label0000019E:
0000019E 1218 move.b D1, [A0]+
000001A0 6712 beq +0x14 /* 000001B4 */
000001A2 226F 0008 movea.l A1, [A7 + 0x8]
label000001A6:
000001A6 1419 move.b D2, [A1]+
000001A8 67F4 beq -0xA /* 0000019E */
000001AA B401 cmp.b D2, D1
000001AC 66F8 bne -0x6 /* 000001A6 */
000001AE 2B48 FFB4 move.l [A5 - 0x4C], A0
000001B2 4220 clr.b -[A0]
label000001B4:
000001B4 4E75 rts
000001B6 70FF moveq.l D0, 0xFFFFFFFF
000001B8 206F 0004 movea.l A0, [A7 + 0x4]
label000001BC:
000001BC 5280 addq.l D0, 1
000001BE 4A18 tst.b [A0]+
000001C0 66FA bne -0x4 /* 000001BC */
000001C2 4E75 rts